from sqlalchemy import Column, Integer, Text
from sqlalchemy.ext.declarative import declarative_base

Base = declarative_base()

class ApiCallLog(Base):
    __tablename__ = 'api_call_log'

    id = Column(Integer, primary_key=True, autoincrement=True)
    call_time = Column(Text, nullable=False)
    status = Column(Integer, nullable=False)
    error_info = Column(Text)
    translated_chars = Column(Integer, nullable=False)
    created_at = Column(Text, nullable=False)
        